package com.zeng.demo;

/**
 * @author zeng
 * @data 2021/06/09 12:41
 */
//实现业务分工、方便业务集中
public class Client {
    public static void main(String[] args) {
        Proxy proxy = new Proxy();
        proxy.setLandlord(new Landlord());
        proxy.rent();
        proxy.SeeHouse();
        proxy.AcheieveAgreememt();
        proxy.fee();
        System.exit(0);
    }
}
